package com.axioma.dbmaint.datalayer.dao;

import java.util.List;

import com.axioma.dbmaint.datalayer.dto.ServerDTO;

public interface ServerRepository {

   /* Talk to the underlying repo to get the list of database servers */
   List<ServerDTO> getServers();
   
   /* Talk to the underlying repo to get information about a named server */
   ServerDTO getServer(String serverName);
   
   /* Add a new server to the list of known servers.*/
   void addServer(ServerDTO server);
   
   /* Remove a server from the list of known servers */
   void deleteServer(String server);
}
